Skip to content

fix: remove Swagger server selector to prevent cross-origin confusion#42

Merged
felippemsc merged 1 commit intomainfrom
fix/swagger-remove-server-selector
Feb 8, 2026
Merged

fix: remove Swagger server selector to prevent cross-origin confusion#42
felippemsc merged 1 commit intomainfrom
fix/swagger-remove-server-selector

Conversation

@felippemsc
Copy link
Contributor

@felippemsc felippemsc commented Feb 8, 2026

Summary

  • Remove hardcoded servers list from OpenAPI config so Swagger UI defaults to the current host
  • Add "Environments" section to API description with links to both prod and dev docs

Prevents users from accidentally selecting the wrong server in Swagger UI and getting CORS errors.

Test plan

  • Verify dev-api.signedshot.io/docs makes requests to dev-api.signedshot.io
  • Verify api.signedshot.io/docs makes requests to api.signedshot.io
  • Verify Environments section renders correctly in Swagger UI

@felippemsc felippemsc added the deploy-rc Deploys release candidate to dev environment label Feb 8, 2026
@github-actions
Copy link

github-actions bot commented Feb 8, 2026

🚀 Release Candidate Deployed!

Version: v0.0.23-rc.42

The RC has been deployed to the dev environment. Check the /health endpoint to verify.

@felippemsc felippemsc merged commit 577a897 into main Feb 8, 2026
5 checks passed
@felippemsc felippemsc deleted the fix/swagger-remove-server-selector branch February 8, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deploy-rc Deploys release candidate to dev environment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant